<?php
/*
 * @Author: your name
 * @Date: 2021-12-07 09:50:02
 * @LastEditTime: 2021-12-15 17:32:17
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \property\app\Http\Controllers\find_shop\User.php
 */

namespace App\Http\Controllers\find_shop;
use Illuminate\Support\Facades\Request;
use App\Models\admin_model\Admins as AdminsDB;
class Admins extends BaseController{
      
        //房产专家
        public function expertsList(){
         return  $this->create(200,'查询成功',AdminsDB::expertsList()) ;
        }
       
       public function expertsSelOne(){
           if(Request::has('id')){
             return $this->create(200,'查询成功',AdminsDB::expertsSelOne(Request::input('id'))[0])  ;
           }
       }
}